package chamber.n00;

import chamber.n00.guice.Module00;
import chamber.n00.helloworld.Command;
import com.google.inject.Inject;
import common.Program;
import common.ProgramFactory;

/**
 * Created by Gerardo on 2/3/14.
 */
public class Chamber00 implements Program {
	private final Command command;

	@Inject
	public Chamber00(final Command command) {
		this.command = command;
	}

	public static void main(String[] args) {
		Program program = ProgramFactory.create(Chamber00.class, new Module00());
		program.execute();
	}

	@Override
	public void execute() {
		command.execute();
	}
}
